/**
 * Rapid-prototyping protection schemes with IEC 61850
 *
 * Copyright (c) 2014 Steven Blair
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

#include <stdlib.h>
#include "ctypes.h"
#include "datatypes.h"
#include "ied.h"
#include "dataModelIndex.h"


#if JSON_INTERFACE == 1

Item dataModelIndex = {"root", BASIC_TYPE_CONSTRUCTED, "", NULL, 12};
#endif // JSON_INTERFACE



void init_data_model_index() {
	dataModelIndex.items = (Item*) calloc(12, sizeof(Item)); // IEDs
	dataModelIndex.items[0].objectRef = "E1Q1SB1";
	dataModelIndex.items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].typeSCL = "IED";
	dataModelIndex.items[0].data = &E1Q1SB1;
	dataModelIndex.items[0].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[0].numberOfItems = 1;
	dataModelIndex.items[0].items[0].objectRef = "S1";
	dataModelIndex.items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[0].items[0].data = &E1Q1SB1.S1;
	dataModelIndex.items[0].items[0].items = (Item*) calloc(1, sizeof(Item)); // LDs
	dataModelIndex.items[0].items[0].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].objectRef = "C1";
	dataModelIndex.items[0].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].typeSCL = "LogicalDevice";
	dataModelIndex.items[0].items[0].items[0].data = &E1Q1SB1.S1.C1;
	dataModelIndex.items[0].items[0].items[0].items = (Item*) calloc(7, sizeof(Item)); // LNs
	dataModelIndex.items[0].items[0].items[0].numberOfItems = 7;
	dataModelIndex.items[0].items[0].items[0].items[0].objectRef = "LN0";
	dataModelIndex.items[0].items[0].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[0].typeSCL = "LN0";
	dataModelIndex.items[0].items[0].items[0].items[0].lnClass = "LLN0";
	dataModelIndex.items[0].items[0].items[0].items[0].data = &E1Q1SB1.S1.C1.LN0.LLN0;
	dataModelIndex.items[0].items[0].items[0].items[0].items = (Item*) calloc(4, sizeof(Item)); // DOs
	dataModelIndex.items[0].items[0].items[0].items[0].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].objectRef = "Mod";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].typeSCL = "myMod";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].CDC = "INC";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].data = &E1Q1SB1.S1.C1.LN0.LLN0.Mod;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[0].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[0].data = &E1Q1SB1.S1.C1.LN0.LLN0.Mod.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[1].data = &E1Q1SB1.S1.C1.LN0.LLN0.Mod.stVal;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[2].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[2].data = &E1Q1SB1.S1.C1.LN0.LLN0.Mod.q;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[3].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[3].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[0].items[3].data = &E1Q1SB1.S1.C1.LN0.LLN0.Mod.t;
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].objectRef = "Health";
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].typeSCL = "myHealth";
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].data = &E1Q1SB1.S1.C1.LN0.LLN0.Health;
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[1].items[0].data = &E1Q1SB1.S1.C1.LN0.LLN0.Health.stVal;
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].objectRef = "Beh";
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].typeSCL = "myBeh";
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].data = &E1Q1SB1.S1.C1.LN0.LLN0.Beh;
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[2].items[0].data = &E1Q1SB1.S1.C1.LN0.LLN0.Beh.stVal;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].objectRef = "NamPlt";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].typeSCL = "myLPL";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].CDC = "LPL";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].data = &E1Q1SB1.S1.C1.LN0.LLN0.NamPlt;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[0].objectRef = "ldNs";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[0].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[0].typeSCL = "VisString255";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[0].FC = "EX";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[0].data = E1Q1SB1.S1.C1.LN0.LLN0.NamPlt.ldNs;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[1].objectRef = "configRev";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[1].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[1].typeSCL = "VisString255";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[1].FC = "DC";
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[0].items[3].items[1].data = E1Q1SB1.S1.C1.LN0.LLN0.NamPlt.configRev;
	dataModelIndex.items[0].items[0].items[0].items[1].objectRef = "exampleRMXU_1";
	dataModelIndex.items[0].items[0].items[0].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].typeSCL = "exampleRMXU";
	dataModelIndex.items[0].items[0].items[0].items[1].lnClass = "RMXU";
	dataModelIndex.items[0].items[0].items[0].items[1].data = &E1Q1SB1.S1.C1.exampleRMXU_1;
	dataModelIndex.items[0].items[0].items[0].items[1].items = (Item*) calloc(6, sizeof(Item)); // DOs
	dataModelIndex.items[0].items[0].items[0].items[1].numberOfItems = 6;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].objectRef = "Mod";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].typeSCL = "myMod";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].CDC = "INC";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Mod;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[0].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Mod.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[1].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Mod.stVal;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[2].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[2].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Mod.q;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[3].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[3].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[0].items[3].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Mod.t;
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].objectRef = "Beh";
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].typeSCL = "myHealth";
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Beh;
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[1].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Beh.stVal;
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].objectRef = "Health";
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].typeSCL = "myBeh";
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Health;
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[2].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.Health.stVal;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].objectRef = "AmpLocPhsA";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].typeSCL = "simpleSAV";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].CDC = "SAV";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsA;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].objectRef = "instMag";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsA.instMag;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].items[0].objectRef = "f";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[0].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsA.instMag.f;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[1].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[1].items[3].items[1].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsA.q;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].objectRef = "AmpLocPhsB";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].typeSCL = "simpleSAV";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].CDC = "SAV";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsB;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].objectRef = "instMag";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsB.instMag;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].items[0].objectRef = "f";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[0].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsB.instMag.f;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[1].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[1].items[4].items[1].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsB.q;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].objectRef = "AmpLocPhsC";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].typeSCL = "simpleSAV";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].CDC = "SAV";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsC;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].objectRef = "instMag";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsC.instMag;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].items[0].objectRef = "f";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[0].items[0].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsC.instMag.f;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[1].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[1].items[5].items[1].data = &E1Q1SB1.S1.C1.exampleRMXU_1.AmpLocPhsC.q;
	dataModelIndex.items[0].items[0].items[0].items[2].objectRef = "LPHDa_1";
	dataModelIndex.items[0].items[0].items[0].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[2].typeSCL = "LPHDa";
	dataModelIndex.items[0].items[0].items[0].items[2].lnClass = "LPHD";
	dataModelIndex.items[0].items[0].items[0].items[2].data = &E1Q1SB1.S1.C1.LPHDa_1;
	dataModelIndex.items[0].items[0].items[0].items[2].items = (Item*) calloc(7, sizeof(Item)); // DOs
	dataModelIndex.items[0].items[0].items[0].items[2].numberOfItems = 7;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].objectRef = "Mod";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].typeSCL = "myMod";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].CDC = "INC";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].data = &E1Q1SB1.S1.C1.LPHDa_1.Mod;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[0].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[0].data = &E1Q1SB1.S1.C1.LPHDa_1.Mod.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[1].data = &E1Q1SB1.S1.C1.LPHDa_1.Mod.stVal;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[2].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[2].data = &E1Q1SB1.S1.C1.LPHDa_1.Mod.q;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[3].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[3].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[0].items[3].data = &E1Q1SB1.S1.C1.LPHDa_1.Mod.t;
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].objectRef = "Health";
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].typeSCL = "myHealth";
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].data = &E1Q1SB1.S1.C1.LPHDa_1.Health;
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[1].items[0].data = &E1Q1SB1.S1.C1.LPHDa_1.Health.stVal;
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].objectRef = "Beh";
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].typeSCL = "myBeh";
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].data = &E1Q1SB1.S1.C1.LPHDa_1.Beh;
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[2].items[0].data = &E1Q1SB1.S1.C1.LPHDa_1.Beh.stVal;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].objectRef = "NamPlt";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].typeSCL = "myLPL";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].CDC = "LPL";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].data = &E1Q1SB1.S1.C1.LPHDa_1.NamPlt;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[0].objectRef = "ldNs";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[0].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[0].typeSCL = "VisString255";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[0].FC = "EX";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[0].data = E1Q1SB1.S1.C1.LPHDa_1.NamPlt.ldNs;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[1].objectRef = "configRev";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[1].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[1].typeSCL = "VisString255";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[1].FC = "DC";
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[3].items[1].data = E1Q1SB1.S1.C1.LPHDa_1.NamPlt.configRev;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].objectRef = "PhyNam";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].typeSCL = "myDPL";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].CDC = "DPL";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].data = &E1Q1SB1.S1.C1.LPHDa_1.PhyNam;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[0].objectRef = "vendor";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[0].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[0].typeSCL = "VisString255";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[0].FC = "DC";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[0].data = E1Q1SB1.S1.C1.LPHDa_1.PhyNam.vendor;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[1].objectRef = "hwRev";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[1].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[1].typeSCL = "VisString255";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[1].FC = "DC";
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[4].items[1].data = E1Q1SB1.S1.C1.LPHDa_1.PhyNam.hwRev;
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].objectRef = "PhyHealth";
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].typeSCL = "myINS";
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].data = &E1Q1SB1.S1.C1.LPHDa_1.PhyHealth;
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].items[0].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[5].items[0].data = &E1Q1SB1.S1.C1.LPHDa_1.PhyHealth.stVal;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].objectRef = "Proxy";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].typeSCL = "mySPS";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].CDC = "SPS";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].data = &E1Q1SB1.S1.C1.LPHDa_1.Proxy;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items = (Item*) calloc(3, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].numberOfItems = 3;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[0].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[0].data = &E1Q1SB1.S1.C1.LPHDa_1.Proxy.stVal;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[1].data = &E1Q1SB1.S1.C1.LPHDa_1.Proxy.q;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[2].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[2].items[6].items[2].data = &E1Q1SB1.S1.C1.LPHDa_1.Proxy.t;
	dataModelIndex.items[0].items[0].items[0].items[3].objectRef = "CSWIa_1";
	dataModelIndex.items[0].items[0].items[0].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[3].typeSCL = "CSWIa";
	dataModelIndex.items[0].items[0].items[0].items[3].lnClass = "CSWI";
	dataModelIndex.items[0].items[0].items[0].items[3].data = &E1Q1SB1.S1.C1.CSWIa_1;
	dataModelIndex.items[0].items[0].items[0].items[3].items = (Item*) calloc(5, sizeof(Item)); // DOs
	dataModelIndex.items[0].items[0].items[0].items[3].numberOfItems = 5;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].objectRef = "Mod";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].typeSCL = "myMod";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].CDC = "INC";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].data = &E1Q1SB1.S1.C1.CSWIa_1.Mod;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[0].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[0].data = &E1Q1SB1.S1.C1.CSWIa_1.Mod.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[1].data = &E1Q1SB1.S1.C1.CSWIa_1.Mod.stVal;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[2].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[2].data = &E1Q1SB1.S1.C1.CSWIa_1.Mod.q;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[3].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[3].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[0].items[3].data = &E1Q1SB1.S1.C1.CSWIa_1.Mod.t;
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].objectRef = "Health";
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].typeSCL = "myHealth";
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].data = &E1Q1SB1.S1.C1.CSWIa_1.Health;
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[1].items[0].data = &E1Q1SB1.S1.C1.CSWIa_1.Health.stVal;
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].objectRef = "Beh";
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].typeSCL = "myBeh";
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].data = &E1Q1SB1.S1.C1.CSWIa_1.Beh;
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[2].items[0].data = &E1Q1SB1.S1.C1.CSWIa_1.Beh.stVal;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].objectRef = "Pos";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].typeSCL = "myPos";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].CDC = "DPC";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].data = &E1Q1SB1.S1.C1.CSWIa_1.Pos;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[0].type = BASIC_TYPE_CODED_ENUM;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[0].typeSCL = "Dbpos";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[0].data = &E1Q1SB1.S1.C1.CSWIa_1.Pos.stVal;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[1].data = &E1Q1SB1.S1.C1.CSWIa_1.Pos.q;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[2].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[2].data = &E1Q1SB1.S1.C1.CSWIa_1.Pos.t;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[3].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[3].type = BASIC_TYPE_BOOLEAN;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[3].typeSCL = "BOOLEAN";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[3].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[3].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[3].items[3].data = &E1Q1SB1.S1.C1.CSWIa_1.Pos.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].objectRef = "GrpAl";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].typeSCL = "mySPS";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].CDC = "SPS";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].data = &E1Q1SB1.S1.C1.CSWIa_1.GrpAl;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items = (Item*) calloc(3, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].numberOfItems = 3;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[0].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[0].data = &E1Q1SB1.S1.C1.CSWIa_1.GrpAl.stVal;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[1].data = &E1Q1SB1.S1.C1.CSWIa_1.GrpAl.q;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[2].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[3].items[4].items[2].data = &E1Q1SB1.S1.C1.CSWIa_1.GrpAl.t;
	dataModelIndex.items[0].items[0].items[0].items[4].objectRef = "CSWIa_2";
	dataModelIndex.items[0].items[0].items[0].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[4].typeSCL = "CSWIa";
	dataModelIndex.items[0].items[0].items[0].items[4].lnClass = "CSWI";
	dataModelIndex.items[0].items[0].items[0].items[4].data = &E1Q1SB1.S1.C1.CSWIa_2;
	dataModelIndex.items[0].items[0].items[0].items[4].items = (Item*) calloc(5, sizeof(Item)); // DOs
	dataModelIndex.items[0].items[0].items[0].items[4].numberOfItems = 5;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].objectRef = "Mod";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].typeSCL = "myMod";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].CDC = "INC";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].data = &E1Q1SB1.S1.C1.CSWIa_2.Mod;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[0].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[0].data = &E1Q1SB1.S1.C1.CSWIa_2.Mod.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[1].data = &E1Q1SB1.S1.C1.CSWIa_2.Mod.stVal;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[2].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[2].data = &E1Q1SB1.S1.C1.CSWIa_2.Mod.q;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[3].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[3].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[0].items[3].data = &E1Q1SB1.S1.C1.CSWIa_2.Mod.t;
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].objectRef = "Health";
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].typeSCL = "myHealth";
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].data = &E1Q1SB1.S1.C1.CSWIa_2.Health;
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[1].items[0].data = &E1Q1SB1.S1.C1.CSWIa_2.Health.stVal;
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].objectRef = "Beh";
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].typeSCL = "myBeh";
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].data = &E1Q1SB1.S1.C1.CSWIa_2.Beh;
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[2].items[0].data = &E1Q1SB1.S1.C1.CSWIa_2.Beh.stVal;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].objectRef = "Pos";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].typeSCL = "myPos";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].CDC = "DPC";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].data = &E1Q1SB1.S1.C1.CSWIa_2.Pos;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[0].type = BASIC_TYPE_CODED_ENUM;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[0].typeSCL = "Dbpos";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[0].data = &E1Q1SB1.S1.C1.CSWIa_2.Pos.stVal;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[1].data = &E1Q1SB1.S1.C1.CSWIa_2.Pos.q;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[2].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[2].data = &E1Q1SB1.S1.C1.CSWIa_2.Pos.t;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[3].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[3].type = BASIC_TYPE_BOOLEAN;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[3].typeSCL = "BOOLEAN";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[3].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[3].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[3].items[3].data = &E1Q1SB1.S1.C1.CSWIa_2.Pos.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].objectRef = "GrpAl";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].typeSCL = "mySPS";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].CDC = "SPS";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].data = &E1Q1SB1.S1.C1.CSWIa_2.GrpAl;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items = (Item*) calloc(3, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].numberOfItems = 3;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[0].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[0].data = &E1Q1SB1.S1.C1.CSWIa_2.GrpAl.stVal;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[1].data = &E1Q1SB1.S1.C1.CSWIa_2.GrpAl.q;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[2].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[4].items[4].items[2].data = &E1Q1SB1.S1.C1.CSWIa_2.GrpAl.t;
	dataModelIndex.items[0].items[0].items[0].items[5].objectRef = "MMXUa_1";
	dataModelIndex.items[0].items[0].items[0].items[5].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].typeSCL = "MMXUa";
	dataModelIndex.items[0].items[0].items[0].items[5].lnClass = "MMXU";
	dataModelIndex.items[0].items[0].items[0].items[5].data = &E1Q1SB1.S1.C1.MMXUa_1;
	dataModelIndex.items[0].items[0].items[0].items[5].items = (Item*) calloc(5, sizeof(Item)); // DOs
	dataModelIndex.items[0].items[0].items[0].items[5].numberOfItems = 5;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].objectRef = "Mod";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].typeSCL = "myMod";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].CDC = "INC";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Mod;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[0].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Mod.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[1].data = &E1Q1SB1.S1.C1.MMXUa_1.Mod.stVal;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[2].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[2].data = &E1Q1SB1.S1.C1.MMXUa_1.Mod.q;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[3].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[3].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[0].items[3].data = &E1Q1SB1.S1.C1.MMXUa_1.Mod.t;
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].objectRef = "Beh";
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].typeSCL = "myHealth";
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].data = &E1Q1SB1.S1.C1.MMXUa_1.Beh;
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[1].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Beh.stVal;
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].objectRef = "Health";
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].typeSCL = "myBeh";
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].data = &E1Q1SB1.S1.C1.MMXUa_1.Health;
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[2].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Health.stVal;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].objectRef = "Amps";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].typeSCL = "myMV";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].CDC = "MV";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items = (Item*) calloc(7, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].numberOfItems = 7;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].objectRef = "mag";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.mag;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].items[0].objectRef = "f";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[0].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.mag.f;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[1].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[1].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.q;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[2].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[2].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[2].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.t;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].objectRef = "sVC";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].typeSCL = "ScaledValueConfig";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].FC = "CF";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.sVC;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items[0].objectRef = "scaleFactor";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.sVC.scaleFactor;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items[1].objectRef = "offset";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items[1].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items[1].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[3].items[1].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.sVC.offset;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[4].objectRef = "int1";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[4].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[4].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[4].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[4].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[4].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[4].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.int1;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[5].objectRef = "int2";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[5].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[5].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[5].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[5].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[5].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[5].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.int2;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[6].objectRef = "int3";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[6].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[6].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[6].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[6].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[6].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[3].items[6].data = &E1Q1SB1.S1.C1.MMXUa_1.Amps.int3;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].objectRef = "Volts";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].typeSCL = "myMV";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].CDC = "MV";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items = (Item*) calloc(7, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].numberOfItems = 7;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].objectRef = "mag";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.mag;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].items[0].objectRef = "f";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[0].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.mag.f;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[1].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[1].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.q;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[2].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[2].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[2].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.t;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].objectRef = "sVC";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].typeSCL = "ScaledValueConfig";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].FC = "CF";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.sVC;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items[0].objectRef = "scaleFactor";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items[0].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.sVC.scaleFactor;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items[1].objectRef = "offset";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items[1].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items[1].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[3].items[1].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.sVC.offset;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[4].objectRef = "int1";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[4].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[4].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[4].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[4].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[4].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[4].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.int1;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[5].objectRef = "int2";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[5].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[5].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[5].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[5].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[5].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[5].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.int2;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[6].objectRef = "int3";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[6].type = BASIC_TYPE_INT32;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[6].typeSCL = "INT32";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[6].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[6].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[6].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[5].items[4].items[6].data = &E1Q1SB1.S1.C1.MMXUa_1.Volts.int3;
	dataModelIndex.items[0].items[0].items[0].items[6].objectRef = "TVTRa_1";
	dataModelIndex.items[0].items[0].items[0].items[6].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[6].typeSCL = "TVTRa";
	dataModelIndex.items[0].items[0].items[0].items[6].lnClass = "TVTR";
	dataModelIndex.items[0].items[0].items[0].items[6].data = &E1Q1SB1.S1.C1.TVTRa_1;
	dataModelIndex.items[0].items[0].items[0].items[6].items = (Item*) calloc(4, sizeof(Item)); // DOs
	dataModelIndex.items[0].items[0].items[0].items[6].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].objectRef = "Mod";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].typeSCL = "myMod";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].CDC = "INC";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].data = &E1Q1SB1.S1.C1.TVTRa_1.Mod;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].numberOfItems = 4;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[0].FC = "CO";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[0].data = &E1Q1SB1.S1.C1.TVTRa_1.Mod.ctlVal;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[1].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[1].data = &E1Q1SB1.S1.C1.TVTRa_1.Mod.stVal;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[2].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[2].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[2].data = &E1Q1SB1.S1.C1.TVTRa_1.Mod.q;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[3].objectRef = "t";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[3].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[0].items[3].data = &E1Q1SB1.S1.C1.TVTRa_1.Mod.t;
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].objectRef = "Health";
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].typeSCL = "myHealth";
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].data = &E1Q1SB1.S1.C1.TVTRa_1.Health;
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[1].items[0].data = &E1Q1SB1.S1.C1.TVTRa_1.Health.stVal;
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].objectRef = "Beh";
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].typeSCL = "myBeh";
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].CDC = "INS";
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].data = &E1Q1SB1.S1.C1.TVTRa_1.Beh;
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].items[0].FC = "ST";
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[2].items[0].data = &E1Q1SB1.S1.C1.TVTRa_1.Beh.stVal;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].objectRef = "Vol";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].typeSCL = "mySAV";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].CDC = "SAV";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].data = &E1Q1SB1.S1.C1.TVTRa_1.Vol;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].numberOfItems = 2;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].objectRef = "instMag";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].data = &E1Q1SB1.S1.C1.TVTRa_1.Vol.instMag;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].numberOfItems = 1;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].items[0].objectRef = "f";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[0].items[0].data = &E1Q1SB1.S1.C1.TVTRa_1.Vol.instMag.f;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[1].objectRef = "q";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[1].typeSCL = "Quality";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[1].FC = "MX";
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[0].items[0].items[0].items[6].items[3].items[1].data = &E1Q1SB1.S1.C1.TVTRa_1.Vol.q;
	dataModelIndex.items[1].objectRef = "E1Q1BP2";
	dataModelIndex.items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[1].typeSCL = "IED";
	dataModelIndex.items[1].data = &E1Q1BP2;
	dataModelIndex.items[1].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[1].numberOfItems = 1;
	dataModelIndex.items[1].items[0].objectRef = "S1";
	dataModelIndex.items[1].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[1].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[1].items[0].data = &E1Q1BP2.S1;
	dataModelIndex.items[2].objectRef = "E1Q1BP3";
	dataModelIndex.items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[2].typeSCL = "IED";
	dataModelIndex.items[2].data = &E1Q1BP3;
	dataModelIndex.items[2].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[2].numberOfItems = 1;
	dataModelIndex.items[2].items[0].objectRef = "S1";
	dataModelIndex.items[2].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[2].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[2].items[0].data = &E1Q1BP3.S1;
	dataModelIndex.items[3].objectRef = "E1Q2SB1";
	dataModelIndex.items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[3].typeSCL = "IED";
	dataModelIndex.items[3].data = &E1Q2SB1;
	dataModelIndex.items[3].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[3].numberOfItems = 1;
	dataModelIndex.items[3].items[0].objectRef = "S1";
	dataModelIndex.items[3].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[3].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[3].items[0].data = &E1Q2SB1.S1;
	dataModelIndex.items[4].objectRef = "E1Q3SB1";
	dataModelIndex.items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[4].typeSCL = "IED";
	dataModelIndex.items[4].data = &E1Q3SB1;
	dataModelIndex.items[4].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[4].numberOfItems = 1;
	dataModelIndex.items[4].items[0].objectRef = "S1";
	dataModelIndex.items[4].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[4].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[4].items[0].data = &E1Q3SB1.S1;
	dataModelIndex.items[5].objectRef = "E1Q3KA1";
	dataModelIndex.items[5].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[5].typeSCL = "IED";
	dataModelIndex.items[5].data = &E1Q3KA1;
	dataModelIndex.items[5].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[5].numberOfItems = 1;
	dataModelIndex.items[5].items[0].objectRef = "S1";
	dataModelIndex.items[5].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[5].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[5].items[0].data = &E1Q3KA1.S1;
	dataModelIndex.items[6].objectRef = "E1Q3KA2";
	dataModelIndex.items[6].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[6].typeSCL = "IED";
	dataModelIndex.items[6].data = &E1Q3KA2;
	dataModelIndex.items[6].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[6].numberOfItems = 1;
	dataModelIndex.items[6].items[0].objectRef = "S1";
	dataModelIndex.items[6].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[6].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[6].items[0].data = &E1Q3KA2.S1;
	dataModelIndex.items[7].objectRef = "E1Q3KA3";
	dataModelIndex.items[7].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[7].typeSCL = "IED";
	dataModelIndex.items[7].data = &E1Q3KA3;
	dataModelIndex.items[7].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[7].numberOfItems = 1;
	dataModelIndex.items[7].items[0].objectRef = "S1";
	dataModelIndex.items[7].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[7].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[7].items[0].data = &E1Q3KA3.S1;
	dataModelIndex.items[8].objectRef = "D1Q1SB1";
	dataModelIndex.items[8].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[8].typeSCL = "IED";
	dataModelIndex.items[8].data = &D1Q1SB1;
	dataModelIndex.items[8].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[8].numberOfItems = 1;
	dataModelIndex.items[8].items[0].objectRef = "S1";
	dataModelIndex.items[8].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[8].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[8].items[0].data = &D1Q1SB1.S1;
	dataModelIndex.items[9].objectRef = "D1Q1BP2";
	dataModelIndex.items[9].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[9].typeSCL = "IED";
	dataModelIndex.items[9].data = &D1Q1BP2;
	dataModelIndex.items[9].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[9].numberOfItems = 1;
	dataModelIndex.items[9].items[0].objectRef = "S1";
	dataModelIndex.items[9].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[9].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[9].items[0].data = &D1Q1BP2.S1;
	dataModelIndex.items[10].objectRef = "D1Q1BP3";
	dataModelIndex.items[10].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[10].typeSCL = "IED";
	dataModelIndex.items[10].data = &D1Q1BP3;
	dataModelIndex.items[10].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[10].numberOfItems = 1;
	dataModelIndex.items[10].items[0].objectRef = "S1";
	dataModelIndex.items[10].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[10].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[10].items[0].data = &D1Q1BP3.S1;
	dataModelIndex.items[11].objectRef = "D1Q1SB4";
	dataModelIndex.items[11].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].typeSCL = "IED";
	dataModelIndex.items[11].data = &D1Q1SB4;
	dataModelIndex.items[11].items = (Item*) calloc(1, sizeof(Item)); // APs+Servers
	dataModelIndex.items[11].numberOfItems = 1;
	dataModelIndex.items[11].items[0].objectRef = "S1";
	dataModelIndex.items[11].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].typeSCL = "AccessPoint";
	dataModelIndex.items[11].items[0].data = &D1Q1SB4.S1;
	dataModelIndex.items[11].items[0].items = (Item*) calloc(1, sizeof(Item)); // LDs
	dataModelIndex.items[11].items[0].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].objectRef = "C1";
	dataModelIndex.items[11].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].typeSCL = "LogicalDevice";
	dataModelIndex.items[11].items[0].items[0].data = &D1Q1SB4.S1.C1;
	dataModelIndex.items[11].items[0].items[0].items = (Item*) calloc(4, sizeof(Item)); // LNs
	dataModelIndex.items[11].items[0].items[0].numberOfItems = 4;
	dataModelIndex.items[11].items[0].items[0].items[0].objectRef = "LN0";
	dataModelIndex.items[11].items[0].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[0].typeSCL = "LN0";
	dataModelIndex.items[11].items[0].items[0].items[0].lnClass = "LLN0";
	dataModelIndex.items[11].items[0].items[0].items[0].data = &D1Q1SB4.S1.C1.LN0.LLN0;
	dataModelIndex.items[11].items[0].items[0].items[0].items = (Item*) calloc(4, sizeof(Item)); // DOs
	dataModelIndex.items[11].items[0].items[0].items[0].numberOfItems = 4;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].objectRef = "Mod";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].typeSCL = "myMod";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].CDC = "INC";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].data = &D1Q1SB4.S1.C1.LN0.LLN0.Mod;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].numberOfItems = 4;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[0].FC = "CO";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[0].data = &D1Q1SB4.S1.C1.LN0.LLN0.Mod.ctlVal;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[1].data = &D1Q1SB4.S1.C1.LN0.LLN0.Mod.stVal;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[2].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[2].data = &D1Q1SB4.S1.C1.LN0.LLN0.Mod.q;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[3].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[3].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[0].items[3].data = &D1Q1SB4.S1.C1.LN0.LLN0.Mod.t;
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].objectRef = "Health";
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].typeSCL = "myHealth";
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].data = &D1Q1SB4.S1.C1.LN0.LLN0.Health;
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[1].items[0].data = &D1Q1SB4.S1.C1.LN0.LLN0.Health.stVal;
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].objectRef = "Beh";
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].typeSCL = "myBeh";
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].data = &D1Q1SB4.S1.C1.LN0.LLN0.Beh;
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[2].items[0].data = &D1Q1SB4.S1.C1.LN0.LLN0.Beh.stVal;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].objectRef = "NamPlt";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].typeSCL = "myLPL";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].CDC = "LPL";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].data = &D1Q1SB4.S1.C1.LN0.LLN0.NamPlt;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].numberOfItems = 2;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[0].objectRef = "ldNs";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[0].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[0].typeSCL = "VisString255";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[0].FC = "EX";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[0].data = D1Q1SB4.S1.C1.LN0.LLN0.NamPlt.ldNs;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[1].objectRef = "configRev";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[1].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[1].typeSCL = "VisString255";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[1].FC = "DC";
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[0].items[3].items[1].data = D1Q1SB4.S1.C1.LN0.LLN0.NamPlt.configRev;
	dataModelIndex.items[11].items[0].items[0].items[1].objectRef = "exampleMMXU_1";
	dataModelIndex.items[11].items[0].items[0].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].typeSCL = "exampleMMXU";
	dataModelIndex.items[11].items[0].items[0].items[1].lnClass = "MMXU";
	dataModelIndex.items[11].items[0].items[0].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1;
	dataModelIndex.items[11].items[0].items[0].items[1].items = (Item*) calloc(4, sizeof(Item)); // DOs
	dataModelIndex.items[11].items[0].items[0].items[1].numberOfItems = 4;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].objectRef = "Mod";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].typeSCL = "myMod";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].CDC = "INC";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Mod;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].numberOfItems = 4;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[0].FC = "CO";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Mod.ctlVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Mod.stVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[2].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Mod.q;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[3].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[3].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[0].items[3].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Mod.t;
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].objectRef = "Beh";
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].typeSCL = "myHealth";
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Beh;
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[1].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Beh.stVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].objectRef = "Health";
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].typeSCL = "myBeh";
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Health;
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[2].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.Health.stVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].objectRef = "A";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].typeSCL = "simpleWYE";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].CDC = "WYE";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items = (Item*) calloc(3, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].numberOfItems = 3;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].objectRef = "phsA"; // SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].typeSCL = "simpleCMV";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items = (Item*) calloc(5, sizeof(Item)); // DAs within SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].numberOfItems = 5;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].objectRef = "cVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].typeSCL = "simpleVector";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.cVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items = (Item*) calloc(2, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].numberOfItems = 2;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].objectRef = "mag"; // BDA
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.cVal.mag;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].items[0].objectRef = "f";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[0].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.cVal.mag.f;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].objectRef = "ang"; // BDA
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].typeSCL = "myAnalogValue";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.cVal.ang;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].items[0].objectRef = "f";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[0].items[1].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.cVal.ang.f;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[1].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[1].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[1].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.q;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[2].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[2].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.t;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[3].objectRef = "testInteger";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[3].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[3].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[3].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[3].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.testInteger;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].objectRef = "testBoolean";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].type = BASIC_TYPE_BOOLEAN;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].typeSCL = "BOOLEAN";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.testBoolean;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].objectRef = "testSecondLayerSDO"; // SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].typeSCL = "mySPS";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.testSecondLayerSDO;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items = (Item*) calloc(3, sizeof(Item)); // DAs within SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].numberOfItems = 3;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[0].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.testSecondLayerSDO.stVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[1].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[1].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.testSecondLayerSDO.q;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[2].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[0].items[4].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsA.testSecondLayerSDO.t;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].objectRef = "phsB"; // SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].typeSCL = "simpleCMV";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items = (Item*) calloc(5, sizeof(Item)); // DAs within SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].numberOfItems = 5;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].objectRef = "cVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].typeSCL = "simpleVector";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.cVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items = (Item*) calloc(2, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].numberOfItems = 2;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].objectRef = "mag"; // BDA
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.cVal.mag;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].items[0].objectRef = "f";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[0].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.cVal.mag.f;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].objectRef = "ang"; // BDA
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].typeSCL = "myAnalogValue";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.cVal.ang;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].items[0].objectRef = "f";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[0].items[1].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.cVal.ang.f;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[1].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[1].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[1].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.q;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[2].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[2].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.t;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[3].objectRef = "testInteger";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[3].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[3].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[3].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[3].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.testInteger;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].objectRef = "testBoolean";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].type = BASIC_TYPE_BOOLEAN;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].typeSCL = "BOOLEAN";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.testBoolean;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].objectRef = "testSecondLayerSDO"; // SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].typeSCL = "mySPS";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.testSecondLayerSDO;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items = (Item*) calloc(3, sizeof(Item)); // DAs within SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].numberOfItems = 3;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[0].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.testSecondLayerSDO.stVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[1].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[1].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.testSecondLayerSDO.q;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[2].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[1].items[4].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsB.testSecondLayerSDO.t;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].objectRef = "phsC"; // SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].typeSCL = "simpleCMV";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items = (Item*) calloc(5, sizeof(Item)); // DAs within SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].numberOfItems = 5;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].objectRef = "cVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].typeSCL = "simpleVector";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.cVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items = (Item*) calloc(2, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].numberOfItems = 2;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].objectRef = "mag"; // BDA
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].typeSCL = "myAnalogValue";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.cVal.mag;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].items[0].objectRef = "f";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[0].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.cVal.mag.f;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].objectRef = "ang"; // BDA
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].typeSCL = "myAnalogValue";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.cVal.ang;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].items[0].objectRef = "f";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].items[0].type = BASIC_TYPE_FLOAT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].items[0].typeSCL = "FLOAT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[0].items[1].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.cVal.ang.f;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[1].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[1].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[1].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.q;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[2].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[2].FC = "MX";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.t;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[3].objectRef = "testInteger";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[3].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[3].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[3].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[3].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.testInteger;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].objectRef = "testBoolean";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].type = BASIC_TYPE_BOOLEAN;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].typeSCL = "BOOLEAN";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.testBoolean;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].objectRef = "testSecondLayerSDO"; // SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].typeSCL = "mySPS";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.testSecondLayerSDO;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items = (Item*) calloc(3, sizeof(Item)); // DAs within SDO
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].numberOfItems = 3;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[0].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[0].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.testSecondLayerSDO.stVal;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[1].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[1].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[1].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.testSecondLayerSDO.q;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[2].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[1].items[3].items[2].items[4].items[2].data = &D1Q1SB4.S1.C1.exampleMMXU_1.A.phsC.testSecondLayerSDO.t;
	dataModelIndex.items[11].items[0].items[0].items[2].objectRef = "LPHDa_1";
	dataModelIndex.items[11].items[0].items[0].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[2].typeSCL = "LPHDa";
	dataModelIndex.items[11].items[0].items[0].items[2].lnClass = "LPHD";
	dataModelIndex.items[11].items[0].items[0].items[2].data = &D1Q1SB4.S1.C1.LPHDa_1;
	dataModelIndex.items[11].items[0].items[0].items[2].items = (Item*) calloc(7, sizeof(Item)); // DOs
	dataModelIndex.items[11].items[0].items[0].items[2].numberOfItems = 7;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].objectRef = "Mod";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].typeSCL = "myMod";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].CDC = "INC";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].data = &D1Q1SB4.S1.C1.LPHDa_1.Mod;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].numberOfItems = 4;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[0].FC = "CO";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[0].data = &D1Q1SB4.S1.C1.LPHDa_1.Mod.ctlVal;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[1].data = &D1Q1SB4.S1.C1.LPHDa_1.Mod.stVal;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[2].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[2].data = &D1Q1SB4.S1.C1.LPHDa_1.Mod.q;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[3].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[3].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[0].items[3].data = &D1Q1SB4.S1.C1.LPHDa_1.Mod.t;
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].objectRef = "Health";
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].typeSCL = "myHealth";
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].data = &D1Q1SB4.S1.C1.LPHDa_1.Health;
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[1].items[0].data = &D1Q1SB4.S1.C1.LPHDa_1.Health.stVal;
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].objectRef = "Beh";
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].typeSCL = "myBeh";
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].data = &D1Q1SB4.S1.C1.LPHDa_1.Beh;
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[2].items[0].data = &D1Q1SB4.S1.C1.LPHDa_1.Beh.stVal;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].objectRef = "NamPlt";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].typeSCL = "myLPL";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].CDC = "LPL";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].data = &D1Q1SB4.S1.C1.LPHDa_1.NamPlt;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].numberOfItems = 2;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[0].objectRef = "ldNs";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[0].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[0].typeSCL = "VisString255";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[0].FC = "EX";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[0].data = D1Q1SB4.S1.C1.LPHDa_1.NamPlt.ldNs;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[1].objectRef = "configRev";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[1].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[1].typeSCL = "VisString255";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[1].FC = "DC";
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[3].items[1].data = D1Q1SB4.S1.C1.LPHDa_1.NamPlt.configRev;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].objectRef = "PhyNam";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].typeSCL = "myDPL";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].CDC = "DPL";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].data = &D1Q1SB4.S1.C1.LPHDa_1.PhyNam;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].numberOfItems = 2;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[0].objectRef = "vendor";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[0].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[0].typeSCL = "VisString255";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[0].FC = "DC";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[0].data = D1Q1SB4.S1.C1.LPHDa_1.PhyNam.vendor;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[1].objectRef = "hwRev";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[1].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[1].typeSCL = "VisString255";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[1].FC = "DC";
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[4].items[1].data = D1Q1SB4.S1.C1.LPHDa_1.PhyNam.hwRev;
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].objectRef = "PhyHealth";
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].typeSCL = "myINS";
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].data = &D1Q1SB4.S1.C1.LPHDa_1.PhyHealth;
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].items[0].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[5].items[0].data = &D1Q1SB4.S1.C1.LPHDa_1.PhyHealth.stVal;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].objectRef = "Proxy";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].typeSCL = "mySPS";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].CDC = "SPS";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].data = &D1Q1SB4.S1.C1.LPHDa_1.Proxy;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items = (Item*) calloc(3, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].numberOfItems = 3;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[0].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[0].data = &D1Q1SB4.S1.C1.LPHDa_1.Proxy.stVal;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[1].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[1].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[1].data = &D1Q1SB4.S1.C1.LPHDa_1.Proxy.q;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[2].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[2].items[6].items[2].data = &D1Q1SB4.S1.C1.LPHDa_1.Proxy.t;
	dataModelIndex.items[11].items[0].items[0].items[3].objectRef = "RSYNa_1";
	dataModelIndex.items[11].items[0].items[0].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[3].typeSCL = "RSYNa";
	dataModelIndex.items[11].items[0].items[0].items[3].lnClass = "RSYN";
	dataModelIndex.items[11].items[0].items[0].items[3].data = &D1Q1SB4.S1.C1.RSYNa_1;
	dataModelIndex.items[11].items[0].items[0].items[3].items = (Item*) calloc(5, sizeof(Item)); // DOs
	dataModelIndex.items[11].items[0].items[0].items[3].numberOfItems = 5;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].objectRef = "Mod";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].typeSCL = "myMod";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].CDC = "INC";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].data = &D1Q1SB4.S1.C1.RSYNa_1.Mod;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items = (Item*) calloc(4, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].numberOfItems = 4;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[0].objectRef = "ctlVal";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[0].FC = "CO";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[0].data = &D1Q1SB4.S1.C1.RSYNa_1.Mod.ctlVal;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[1].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[1].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[1].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[1].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[1].data = &D1Q1SB4.S1.C1.RSYNa_1.Mod.stVal;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[2].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[2].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[2].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[2].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[2].data = &D1Q1SB4.S1.C1.RSYNa_1.Mod.q;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[3].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[3].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[3].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[3].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[3].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[3].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[0].items[3].data = &D1Q1SB4.S1.C1.RSYNa_1.Mod.t;
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].objectRef = "Health";
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].typeSCL = "myHealth";
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].data = &D1Q1SB4.S1.C1.RSYNa_1.Health;
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[1].items[0].data = &D1Q1SB4.S1.C1.RSYNa_1.Health.stVal;
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].objectRef = "Beh";
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].typeSCL = "myBeh";
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].CDC = "INS";
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].data = &D1Q1SB4.S1.C1.RSYNa_1.Beh;
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].items = (Item*) calloc(1, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].numberOfItems = 1;
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].items[0].type = BASIC_TYPE_ENUMERATED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].items[0].typeSCL = "Enum";
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[2].items[0].data = &D1Q1SB4.S1.C1.RSYNa_1.Beh.stVal;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].objectRef = "NamPlt";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].typeSCL = "myLPL";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].CDC = "LPL";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].data = &D1Q1SB4.S1.C1.RSYNa_1.NamPlt;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items = (Item*) calloc(2, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].numberOfItems = 2;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[0].objectRef = "ldNs";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[0].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[0].typeSCL = "VisString255";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[0].FC = "EX";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[0].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[0].data = D1Q1SB4.S1.C1.RSYNa_1.NamPlt.ldNs;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[1].objectRef = "configRev";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[1].type = BASIC_TYPE_VISIBLE_STRING;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[1].typeSCL = "VisString255";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[1].FC = "DC";
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[1].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[3].items[1].data = D1Q1SB4.S1.C1.RSYNa_1.NamPlt.configRev;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].objectRef = "Rel";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].type = BASIC_TYPE_CONSTRUCTED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].typeSCL = "mySPS";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].CDC = "SPS";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].data = &D1Q1SB4.S1.C1.RSYNa_1.Rel;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items = (Item*) calloc(3, sizeof(Item)); // DAs (top level)
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].numberOfItems = 3;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[0].objectRef = "stVal";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[0].type = BASIC_TYPE_INT32;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[0].typeSCL = "INT32";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[0].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[0].dchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[0].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[0].data = &D1Q1SB4.S1.C1.RSYNa_1.Rel.stVal;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[1].objectRef = "q";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[1].type = BASIC_TYPE_INT16U;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[1].typeSCL = "Quality";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[1].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[1].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[1].qchg = TRIGGER_OPTION_TRUE;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[1].data = &D1Q1SB4.S1.C1.RSYNa_1.Rel.q;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[2].objectRef = "t";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[2].type = BASIC_TYPE_INT24U;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[2].typeSCL = "Timestamp";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[2].FC = "ST";
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[2].dchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[2].qchg = TRIGGER_OPTION_NOT_SPECIFIED;
	dataModelIndex.items[11].items[0].items[0].items[3].items[4].items[2].data = &D1Q1SB4.S1.C1.RSYNa_1.Rel.t;
}

ACSIServer *server1;
ACSIServer *server2;
ACSIServer *server3;
ACSIServer *server4;
ACSIServer *server5;
ACSIServer *server6;
ACSIServer *server7;
ACSIServer *server8;
ACSIServer *server9;
ACSIServer *server10;
ACSIServer *server11;
ACSIServer *server12;

void init_webservers(mg_handler_t handler, void *(*serve)(void *)) {
	server1 = calloc(1, sizeof(ACSIServer));
	server1->iedName = "E1Q1SB1";
	server1->apName = "S1";
	server1->mg = mg_create_server((void *) server1);
#ifndef USE_SSL
	mg_set_option(server1->mg, "listening_port", "8001");
#else
	mg_set_option(server1->mg, "listening_port", "8001s");
	mg_set_option(server1->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server1->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server1->mg, "/", handler);
	mg_start_thread(serve, server1->mg);

	server2 = calloc(1, sizeof(ACSIServer));
	server2->iedName = "E1Q1BP2";
	server2->apName = "S1";
	server2->mg = mg_create_server((void *) server2);
#ifndef USE_SSL
	mg_set_option(server2->mg, "listening_port", "8002");
#else
	mg_set_option(server2->mg, "listening_port", "8002s");
	mg_set_option(server2->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server2->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server2->mg, "/", handler);
	mg_start_thread(serve, server2->mg);

	server3 = calloc(1, sizeof(ACSIServer));
	server3->iedName = "E1Q1BP3";
	server3->apName = "S1";
	server3->mg = mg_create_server((void *) server3);
#ifndef USE_SSL
	mg_set_option(server3->mg, "listening_port", "8003");
#else
	mg_set_option(server3->mg, "listening_port", "8003s");
	mg_set_option(server3->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server3->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server3->mg, "/", handler);
	mg_start_thread(serve, server3->mg);

	server4 = calloc(1, sizeof(ACSIServer));
	server4->iedName = "E1Q2SB1";
	server4->apName = "S1";
	server4->mg = mg_create_server((void *) server4);
#ifndef USE_SSL
	mg_set_option(server4->mg, "listening_port", "8004");
#else
	mg_set_option(server4->mg, "listening_port", "8004s");
	mg_set_option(server4->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server4->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server4->mg, "/", handler);
	mg_start_thread(serve, server4->mg);

	server5 = calloc(1, sizeof(ACSIServer));
	server5->iedName = "E1Q3SB1";
	server5->apName = "S1";
	server5->mg = mg_create_server((void *) server5);
#ifndef USE_SSL
	mg_set_option(server5->mg, "listening_port", "8005");
#else
	mg_set_option(server5->mg, "listening_port", "8005s");
	mg_set_option(server5->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server5->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server5->mg, "/", handler);
	mg_start_thread(serve, server5->mg);

	server6 = calloc(1, sizeof(ACSIServer));
	server6->iedName = "E1Q3KA1";
	server6->apName = "S1";
	server6->mg = mg_create_server((void *) server6);
#ifndef USE_SSL
	mg_set_option(server6->mg, "listening_port", "8006");
#else
	mg_set_option(server6->mg, "listening_port", "8006s");
	mg_set_option(server6->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server6->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server6->mg, "/", handler);
	mg_start_thread(serve, server6->mg);

	server7 = calloc(1, sizeof(ACSIServer));
	server7->iedName = "E1Q3KA2";
	server7->apName = "S1";
	server7->mg = mg_create_server((void *) server7);
#ifndef USE_SSL
	mg_set_option(server7->mg, "listening_port", "8007");
#else
	mg_set_option(server7->mg, "listening_port", "8007s");
	mg_set_option(server7->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server7->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server7->mg, "/", handler);
	mg_start_thread(serve, server7->mg);

	server8 = calloc(1, sizeof(ACSIServer));
	server8->iedName = "E1Q3KA3";
	server8->apName = "S1";
	server8->mg = mg_create_server((void *) server8);
#ifndef USE_SSL
	mg_set_option(server8->mg, "listening_port", "8008");
#else
	mg_set_option(server8->mg, "listening_port", "8008s");
	mg_set_option(server8->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server8->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server8->mg, "/", handler);
	mg_start_thread(serve, server8->mg);

	server9 = calloc(1, sizeof(ACSIServer));
	server9->iedName = "D1Q1SB1";
	server9->apName = "S1";
	server9->mg = mg_create_server((void *) server9);
#ifndef USE_SSL
	mg_set_option(server9->mg, "listening_port", "8009");
#else
	mg_set_option(server9->mg, "listening_port", "8009s");
	mg_set_option(server9->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server9->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server9->mg, "/", handler);
	mg_start_thread(serve, server9->mg);

	server10 = calloc(1, sizeof(ACSIServer));
	server10->iedName = "D1Q1BP2";
	server10->apName = "S1";
	server10->mg = mg_create_server((void *) server10);
#ifndef USE_SSL
	mg_set_option(server10->mg, "listening_port", "8010");
#else
	mg_set_option(server10->mg, "listening_port", "8010s");
	mg_set_option(server10->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server10->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server10->mg, "/", handler);
	mg_start_thread(serve, server10->mg);

	server11 = calloc(1, sizeof(ACSIServer));
	server11->iedName = "D1Q1BP3";
	server11->apName = "S1";
	server11->mg = mg_create_server((void *) server11);
#ifndef USE_SSL
	mg_set_option(server11->mg, "listening_port", "8011");
#else
	mg_set_option(server11->mg, "listening_port", "8011s");
	mg_set_option(server11->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server11->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server11->mg, "/", handler);
	mg_start_thread(serve, server11->mg);

	server12 = calloc(1, sizeof(ACSIServer));
	server12->iedName = "D1Q1SB4";
	server12->apName = "S1";
	server12->mg = mg_create_server((void *) server12);
#ifndef USE_SSL
	mg_set_option(server12->mg, "listening_port", "8012");
#else
	mg_set_option(server12->mg, "listening_port", "8012s");
	mg_set_option(server12->mg, "ssl_certificate", "ssl_cert.pem");
	mg_set_option(server12->mg, "auth_domain", "localhost");
#endif
	mg_add_uri_handler(server12->mg, "/", handler);
	mg_start_thread(serve, server12->mg);
}

